/**
 * 
 */
package example.business.api.topic;

import java.util.Date;

/**
 * @author shipeng
 *
 */
public abstract class AbstractComment {

  private Long id;
  private Date sysInsertTime;
  private Question question;
  private String commentContent;
  private CommentType commentType;

  protected AbstractComment(CommentType commentType) {
    this.commentType = commentType;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Date getSysInsertTime() {
    return sysInsertTime;
  }

  public void setSysInsertTime(Date sysInsertTime) {
    this.sysInsertTime = sysInsertTime;
  }

  public Question getQuestion() {
    return question;
  }

  public void setQuestion(Question question) {
    this.question = question;
  }

  public String getCommentContent() {
    return commentContent;
  }

  public void setCommentContent(String commentContent) {
    this.commentContent = commentContent;
  }

  public CommentType getCommentType() {
    return commentType;
  }

}
